package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 单词发音表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-08 22:25:49
 */
@Data
@TableName("word_voice")
public class WordVoiceEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    public static String CN_ID = "id";
    public static String CN_STRING = "string";
    public static String CN_LOWER_STRING = "lower_string";
    public static String CN_RELATIVE_PATH = "relative_path";

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 单词/短语
     */
    private String string;
    /**
     * 单词/短语 的小写
     */
    private String lowerString;
    /**
     * 音频的相对路径
     */
    private String relativePath;


    public WordVoiceEntity() {
    }

    public WordVoiceEntity(String string, String lowerString, String relativePath) {
        this.string = string;
        this.lowerString = lowerString;
        this.relativePath = relativePath;
    }
}
